WPRubyRoyalMail\Build\DVDoug\BoxPacker\Packer S

Total Complexity 37
Dependencies 14
Dependents 2
Total lines 219
Lines of code 123
Logical lines of code 75
Comment lines 76
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
doVolumePacking()
S
50 7 29
getBoxList()
S
57 5 16
sanityPrecheck()
S
59 5 13
compare()
S
60 5 13
pack()
S
62 3 11
setItems()
S
65 3 10
addItem()
S
68 2 6
findBestBoxFromIteration()
S
67 2 7
__construct()
S
73 1 5
addBox()
S
74 1 4
setBoxes()
S
80 1 3
getMaxBoxesToBalanceWeight()
S
82 1 3
setMaxBoxesToBalanceWeight()
S
81 1 3